home *** CD-ROM | disk | FTP | other *** search
/ GRAVIS Top 100 #1 / GRAVIS CD No1_Herbst_94.cdr / Deneba / Canvas™ 3.5.2 US / Canvas Tools / Separations / Separations.rsrc / hd11_1010_CvHeader < prev    next >
Text File  |  1994-05-20  |  10KB  |  235 lines

  1. %%BeginProcSet:CanvasDict
  2. /CanvasDict where not{/CanvasDict 250 dict def}{pop}ifelse
  3. CanvasDict begin
  4. systemdict/setpacking known{/origpack currentpacking def true setpacking}if
  5. /bdf{bind def}bind def
  6. /_cv 20 dict begin
  7. /isDeviceColor {/currentcolorspace where{pop currentcolorspace 0 get dup /DeviceGray eq exch dup /DeviceRGB eq exch /DeviceCMYK eq or or}{T}ifelse}bdf
  8. /stg{isDeviceColor{setgray}{pop}ifelse}bdf
  9. /strgb{isDeviceColor{setrgbcolor}{pop pop pop}ifelse}bdf
  10. /stcmyk{isDeviceColor{setcmykcolor}{pop pop pop pop}ifelse}bdf
  11. currentdict end def
  12. /xdf{exch bind def}bdf
  13. /min{2 copy gt{exch}if pop}bdf
  14. /edf{exch def}bdf
  15. /max{2 copy lt{exch}if pop}bdf
  16. /cvmtx matrix def
  17. /tpmx matrix def
  18. /currot 0 def
  19. /rotmtx matrix def
  20. /origmtx matrix def
  21. /cvangle{360 exch sub 90 add 360 mod}bdf
  22. /setrot{/currot edf rotmtx currentmatrix pop 2 copy translate currot rotate neg exch neg exch translate}bdf
  23. /endrot{rotmtx setmatrix /currot 0 def}bdf
  24. /i systemdict/image get def/T true def/F false def/dbg F def
  25. /ncolors 0 def/st0 ()def/st1 ()def/proc0 {}def
  26. /penh 1 def/penv 1 def/penv2 0 def/penh2 0 def/samplesize 0 def/width 0 def/height 0 def
  27. /setcmykcolor where not{/setcmykcolor{/b edf 3{b add 1.0 exch sub 0.0 max 1.0 min 3 1 roll}repeat systemdict begin setrgbcolor end}bdf}{pop}ifelse
  28. /doeoclip{closepath{eoclip}stopped{currentflat dup 2 mul setflat eoclip setflat}if}bdf
  29. /SpaceExtra 0 def/LetterSpace 0 def/StringLength 0 def/NumSpaces 0 def/JustOffset 0 def
  30. /f0{eofill} def
  31. /s0{1 setlinewidth cvmtx currentmatrix pop currentdash pop length 0 ne{penh penv gt{penh}{penv}ifelse setlinewidth}{penh penv scale}ifelse stroke cvmtx setmatrix}bdf
  32. /f1{_bp _fp impat}def
  33. /s1{cvmtx currentmatrix pop currentdash pop length 0 ne{penh penv gt{penh}{penv}ifelse setlinewidth}{penh penv scale}ifelse
  34. {strokepath}stopped{currentflat dup 2 mul setflat strokepath setflat}if 
  35. _bp
  36. cvmtx setmatrix _fp impat}def
  37. /filltype 0 def
  38. /stroketype 0 def
  39. /f{filltype 0 eq{f0}{f1}ifelse}bdf
  40. /s{stroketype 0 eq{s0}{s1}ifelse}bdf
  41. /_fp{}def
  42. /_bp{}def
  43. /_fg 1 def
  44. /_pg 0 def
  45. /_bkg 1 def
  46. /_frg 0 def
  47. /_frgb 3 array def
  48. /_frrgb [0 0 0] def
  49. /_fcmyk 4 array def
  50. /_frcmyk [0 0 0 1] def
  51. /_prgb 3 array def
  52. /_pcmyk 4 array def
  53. /_bkrgb [1 1 1] def
  54. /_bkcmyk [0 0 0 0] def
  55. /fg{/_fg exch def /filltype 0 def/fills{_fg setgray}def}def
  56. /frgb{_frgb astore pop /filltype 0 def/fills{_frgb aload pop setrgbcolor}def}def
  57. /fcmyk{_fcmyk astore pop /filltype 0 def/fills{_fcmyk aload pop setcmykcolor}def}def
  58. /pg{/_pg exch def /stroketype 0 def/pens{_pg setgray}def}def
  59. /prgb{_prgb astore pop /stroketype 0 def/pens{_prgb aload pop setrgbcolor}def}def
  60. /pcmyk{_pcmyk astore pop /stroketype 0 def/pens{_pcmyk aload pop setcmykcolor}def}def
  61. /fpat{/fstr edf/filltype 1 def/fills{/patstr fstr def}bdf}bdf
  62. /ppat{/sstr edf/stroketype 1 def/pens{/patstr sstr def}bdf}bdf
  63. /bkg{ /_bkg exch def /_bp{gsave _bkg setgray fill grestore}def}def
  64. /bkrgb{_bkrgb astore pop/_bp{gsave _bkrgb aload pop setrgbcolor fill grestore}def}def
  65. /bkcmyk{_bkcmyk astore pop/_bp{gsave _bkcmyk aload pop setcmykcolor fill grestore}def}def
  66. /frg{ /_frg exch def /_fp{_frg setgray}def}def
  67. /frrgb{_frrgb astore pop/_fp{_frrgb aload pop setrgbcolor}def}def
  68. /frcmyk{_frcmyk astore pop/_fp{_frcmyk aload pop setcmykcolor}def}def
  69. /icomp{/ncolors edf
  70. ncolors 1 gt{/proc0 edf
  71. dup dup 0 get ncolors div cvi exch 0 3 -1 roll put
  72. 4 -1 roll ncolors div cvi 4 1 roll{proc0 dup/st0 edf
  73. 0 exch ncolors exch length
  74. dup ncolors sub exch ncolors div cvi string/st1 edf
  75. {dup 0 exch dup 1 exch
  76. 2 add{st0 exch get add}bind for
  77. 3 div ncolors 4 eq{exch dup 3 1 roll 3 add st0 exch get add 255 exch sub dup 0 lt{pop 0}if}if cvi
  78. dup 255 gt{pop 255}if
  79. exch ncolors div cvi exch
  80. st1 3 1 roll put}bind for
  81. st1}}if i}bdf
  82. /ci
  83. {/colorimage where
  84. {pop false exch colorimage}
  85. {icomp}
  86. ifelse}bdf
  87. /impat
  88. {/cnt 0 def
  89. /MySave save def
  90. currot 0 ne{currot neg rotate}if
  91. clip
  92. flattenpath
  93. pathbbox
  94. 3 -1 roll
  95. 8 div floor 8 mul dup/starty edf
  96. sub abs 8 div ceiling 8 mul cvi/height edf
  97. exch 8 div floor 8 mul dup/startx edf
  98. sub abs 8 div ceiling 8 mul cvi/width edf
  99. startx starty translate
  100. width height scale
  101. /height height 8 mul def
  102. /st0 width string def
  103. width height T [width 0 0 height neg 0 height]
  104. {patstr
  105. cnt 8 mod
  106. get/st1 edf
  107. 0 1
  108. st0 length 1 sub dup 0 le{pop 1}if
  109. {st0 exch
  110. st1
  111. put}bind for/cnt cnt 1 add def
  112. st0}bind
  113. imagemask
  114. MySave restore
  115. newpath}bdf
  116. /cm{/ncolors edf
  117. translate
  118. scale/height edf/colorimage where
  119. {pop}
  120. {ncolors mul}ifelse/width edf
  121. /tbitstr width string def
  122. width height 8 [width 0 0 height neg 0 height]
  123. {currentfile tbitstr readhexstring pop}bind
  124. ncolors
  125. dup 3 eq {ci}{icomp}ifelse}bdf
  126. /im{translate
  127. scale
  128. /height edf
  129. /width edf
  130. /tbitstr width 7 add 8 div cvi string def
  131. width height 1 [width 0 0 height neg 0 height]
  132. {currentfile tbitstr readhexstring pop}bind
  133. i}bdf
  134. /imk{/invFlag edf
  135. translate
  136. scale
  137. /height edf
  138. /width edf
  139. /tbitstr width 7 add 8 div cvi string def
  140. width height invFlag [width 0 0 height neg 0 height]
  141. {currentfile tbitstr readhexstring pop}bind
  142. imagemask}bdf
  143. /BeginEPSF
  144. {/MySave save def
  145. /dict_count countdictstack def
  146. /op_count count 1 sub def
  147. userdict begin
  148. /showpage {} def
  149. 0 setgray 0 setlinecap
  150. 1 setlinewidth 0 setlinejoin
  151. 10 setmiterlimit [] 0 setdash newpath
  152. /languagelevel where
  153. {pop languagelevel 1 ne{false setstrokeadjust false setoverprint}if}if
  154. }bdf
  155. /EndEPSF
  156. {count op_count sub {pop}repeat
  157. countdictstack dict_count sub {end}repeat
  158. MySave restore}bdf
  159. /rectpath {/cv_r edf/cv_b edf/cv_l edf/cv_t edf
  160. cv_l cv_t moveto cv_r cv_t lineto cv_r cv_b lineto cv_l cv_b lineto cv_l cv_t lineto closepath}bdf
  161. /setpen{/penh edf/penv edf/penv2 penv 2 div def/penh2 penh 2 div def}bdf
  162. /dostroke{not pens 1.0 currentgray ne or {s}{newpath}ifelse}bdf
  163. /dodashfill{not fills 1.0 currentgray ne or
  164. {gsave f grestore gsave [] 0 setdash 
  165. stroketype/stroketype filltype def
  166. s/stroketype edf grestore}{newpath}ifelse}bdf
  167. /dofill{not fills 1.0 currentgray ne or {f}{newpath}ifelse}bdf
  168. /dofillsave{not fills 1.0 currentgray ne or {gsave f grestore}if}bdf
  169. /doline{not pens 1.0 currentgray ne or {filltype/filltype stroketype def f/filltype edf}{newpath}ifelse}bdf
  170. /spx{SpaceExtra 0 32 4 -1 roll widthshow}bdf
  171. /lsx{SpaceExtra 0 32 LetterSpace 0 6 -1 roll awidthshow}bdf
  172. /Rjust{stringwidth pop JustOffset exch sub /JustOffset edf}bdf
  173. /Cjust{stringwidth pop 2 div JustOffset exch sub /JustOffset edf}bdf
  174. /adjfit{stringwidth pop LetterSpace StringLength 1 sub mul add SpaceExtra NumSpaces mul add dup /pw edf JustOffset exch 
  175. sub dup /wdif edf StringLength div LetterSpace add /LetterSpace edf}bdf
  176. /ulb{currentpoint pop /underlinpt edf}bdf
  177. /ule{gsave currentpoint newpath moveto currentfont dup /ft1 known{dup /ft1 get begin /FontMatrix get FontMatrix tpmx concatmatrix pop}
  178. {begin FontMatrix tpmx copy pop}ifelse currentfont /FontInfo known {FontInfo begin UnderlinePosition UnderlineThickness end}{100 1}ifelse end dup tpmx
  179. dtransform pop setlinewidth dup tpmx dtransform pop 0 exch rmoveto underlinpt currentpoint pop sub 0 rlineto stroke grestore}bdf
  180. /fittext{ /SpaceExtra edf /LetterSpace edf /StringLength edf /NumSpaces edf /JustOffset edf not 1 currentgray ne or
  181. {dup {ulb}if exch
  182. dup adjfit
  183. lsx {ule}if}{pop pop}ifelse}bdf
  184. /cvRecFont{/encod edf FontDirectory 2 index known{cleartomark}{findfont dup length 1 add dict begin
  185. {1 index/FID ne{def}{pop pop}ifelse}forall encod{/Encoding CVvec def}if
  186. currentdict end definefont cleartomark}ifelse}bdf
  187. /wrk1 ( ) def/wdict 16 dict def
  188. /Work75 75 string def /Nmk{Work75 cvs dup}bdf /Npt{put cvn}bdf /dhOdh{Nmk 2 79 Npt}bdf /dhodh{Nmk 2 111 Npt}bdf    /dhSdh{Nmk 2 83 Npt}bdf
  189. /sfWidth{gsave 0 0 moveto 0 0 lineto 0 0 lineto 0 0 lineto closepath clip stringwidth grestore}bdf
  190. /MakOF{dup dhodh FontDirectory 1 index known{exch pop}{exch findfont dup length 1 add dict begin
  191. {1 index/FID ne 2 index /UniqueID ne and{def}{pop pop}ifelse}forall
  192. /PaintType 2 def
  193. /StrokeWidth .24 1000 mul ftSize div dup 12 lt{pop 12}if def
  194. dup currentdict end definefont pop}ifelse}bdf
  195. /fts{dup/ftSize edf}def
  196. /mkFT{/tempFT 11 dict def tempFT begin
  197. /FontMatrix [1 0 0 1 0 0] def/FontType 3 def
  198. FontDirectory 3 index get /Encoding get/Encoding exch def
  199. /proc2 edf/ft2 exch findfont def/ft1 exch findfont def/FontBBox [0 0 1 1] def
  200. /BuildChar{wdict begin/chr edf/ftdt edf/chrst wrk1 dup 0 chr put def ftdt/proc2 get exec end}def
  201. end tempFT definefont pop}bdf
  202. /OLFt{dup dhOdh FontDirectory 1 index known{exch pop}
  203. {dup 3 -1 roll dup MakOF {outproc} mkFT}ifelse}bdf
  204. /mshw{moveto show}bdf
  205. /outproc{ftdt/ft1 get setfont gsave chrst sfWidth grestore setcharwidth dblsh}bdf
  206. /dblsh{currentgray 1 setgray chrst 0 0 mshw setgray ftdt/ft2 get setfont chrst 0 0 mshw}bdf
  207. /ShadChar{ftdt/ft1 get setfont gsave chrst sfWidth 1 index 0 ne{exch .05 add exch}if grestore setcharwidth
  208. chrst .06 0 mshw 0 .05 translate dblsh}bdf
  209. /ShFt{dup dhSdh FontDirectory 1 index known{exch pop}
  210. {dup 3 -1 roll dup MakOF {ShadChar} mkFT}ifelse}bdf
  211. /LswUnits{72 75 div dup scale}bdf
  212. /erasefill{_bp}def
  213. /CVvec 256 array def
  214. /NUL/SOH/STX/ETX/EOT/ENQ/ACK/BEL/BS/HT/LF/VT/FF/CR/SO/SI/DLE/DC1/DC2/DC3/DC4/NAK/SYN/ETB/CAN/EM/SUB/ESC/FS/GS/RS/US
  215. CVvec 0 32 getinterval astore pop
  216. CVvec 32/Times-Roman findfont/Encoding get
  217. 32 96 getinterval putinterval CVvec dup 39/quotesingle put 96/grave put
  218. /Adieresis/Aring/Ccedilla/Eacute/Ntilde/Odieresis/Udieresis/aacute
  219. /agrave/acircumflex/adieresis/atilde/aring/ccedilla/eacute/egrave
  220. /ecircumflex/edieresis/iacute/igrave/icircumflex/idieresis/ntilde/oacute
  221. /ograve/ocircumflex/odieresis/otilde/uacute/ugrave/ucircumflex/udieresis
  222. /dagger/degree/cent/sterling/section/bullet/paragraph/germandbls
  223. /registered/copyright/trademark/acute/dieresis/notequal/AE/Oslash
  224. /infinity/plusminus/lessequal/greaterequal/yen/mu/partialdiff/summation
  225. /product/pi/integral/ordfeminine/ordmasculine/Omega/ae/oslash
  226. /questiondown/exclamdown/logicalnot/radical/florin/approxequal/Delta/guillemotleft
  227. /guillemotright/ellipsis/blank/Agrave/Atilde/Otilde/OE/oe
  228. /endash/emdash/quotedblleft/quotedblright/quoteleft/quoteright/divide/lozenge
  229. /ydieresis/Ydieresis/fraction/currency/guilsinglleft/guilsinglright/fi/fl
  230. /daggerdbl/periodcentered/quotesinglbase/quotedblbase/perthousand/Acircumflex/Ecircumflex/Aacute
  231. /Edieresis/Egrave/Iacute/Icircumflex/Idieresis/Igrave/Oacute/Ocircumflex
  232. /apple/Ograve/Uacute/Ucircumflex/Ugrave/dotlessi/circumflex/tilde
  233. /macron/breve/dotaccent/ring/cedilla/hungarumlaut/ogonek/caron
  234. CVvec 128 128 getinterval astore pop
  235.